package com.idealighter.game.server.net.http.demo;

import com.idealighter.game.server.handler.HttpReqMessageHandler;
import com.idealighter.game.server.net.http.ReqHttpMessage;
import com.idealighter.game.server.net.http.ReqHttpMsgHandler;
import com.idealighter.game.server.net.http.ResHttpMessage;

@ReqHttpMsgHandler("/abc")
public class TestHttp implements HttpReqMessageHandler {

  @Override
  public ResHttpMessage action(ReqHttpMessage msg) {
    // msg.sendRedirect("http://www.baidu.com");
    return null;
  }
}
